package net.lzzy.gsonandjson;

import java.io.Serializable;

public class Car implements Serializable {
    private String vin;
    private String collectTime;
    private Integer speed;

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    public String getCollectTime() {
        return collectTime;
    }

    public void setCollectTime(String collectTime) {
        this.collectTime = collectTime;
    }

    public Integer getSpeed() {
        return speed;
    }

    public void setSpeed(Integer speed) {
        this.speed = speed;
    }

    @Override
    public String toString() {
        return "Car{" +
                "vin='" + vin + '\'' +
                ", collectTime='" + collectTime + '\'' +
                ", speed=" + speed +
                '}';
    }
}
